#ifndef GENERICSELECTPATH_H
#define GENERICSELECTPATH_H

#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/panel.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>

class wxString;

class GenericSelectPath: public wxPanel {
  public:

    GenericSelectPath( wxWindow* parent, wxWindowID id = -1 );
    virtual ~GenericSelectPath();

    // use this because it adjusts the sizer too
    void SetDescription( const wxString& descr ) {
      lblDescr->SetLabel( descr );
      GetSizer()->Fit( this );
      GetSizer()->SetSizeHints( this );
    }
    static const long ID_STATICTEXT1;
    static const long ID_STATICTEXT2;
    static const long ID_TEXTCTRL1;
    static const long ID_BUTTON1;
    wxBoxSizer* BoxSizer2;
    wxButton* btnBrowse;
    wxTextCtrl* txtFolder;
    wxStaticText* lblLabel;
    wxBoxSizer* BoxSizer1;
    wxStaticText* lblDescr;
  private:

    DECLARE_EVENT_TABLE()
};

#endif
